package com.canglion.ragflow.pojo;

import lombok.Data;

/**
 * rundreams.blog.csdn.net
 *
 * @Time:2025/9/4
 * @Author: Zihao Zhang
 * @description:
 */

@Data
public class BaseResponse {

    private int code;
    private String message;

    // 判断是否成功
    public boolean isSuccess() {
        return this.code == 0;
    }
}
